from scrapy import  cmdline

cmdline.execute('scrapy crawl csdn --nolog '.split())